<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="t" uri="http://myfaces.apache.org/tomahawk"%>

<script type="text/javascript" src="./js/ADM003.js"></script>
<script type="text/javascript" src="./js/common.js"></script>
<script type="text/javascript" src="./js/jquery.js"></script>

<c:if test="${(empty userManaged.userId) }">
	<c:redirect url="./login.do"></c:redirect>
</c:if>
<f:view>
	<jsp:include page="header.jsp" />
	<h:form id="formADM004">
		<table class="tbl_input" border="0" width="75%" cellpadding="0"
			cellspacing="0">
			<tr>
				<th align="left" style="padding-left: 100px;"><h:outputText
					value="会員情報編集" /></th>
			</tr>
			<tr>
				<td align="left">
				<div style="padding-left: 100px;">
				<table border="1" width="70%" class="tbl_input" cellpadding="4"
					cellspacing="0">
					<tr>
						<td class="lbl_left"><h:outputText value=" アカウント名:" /></td>
						<td><h:outputText value="#{userManaged.loginName}">
						</h:outputText></td>
					</tr>
					<tr>
						<td class="lbl_left"><h:outputText value=" グループ:" /></td>
						<td><h:outputText value="#{userManaged.groupName}">
						</h:outputText></td>
					</tr>
					<tr>
						<td class="lbl_left"><h:outputText value=" 氏名:" /></td>
						<td><h:outputText value="#{userManaged.fullName}">
						</h:outputText></td>
					</tr>
					<tr>
						<td class="lbl_left"><h:outputText value=" カタカナ氏名:" /></td>
						<td><h:outputText value="#{userManaged.fullNameKana}">
						</h:outputText></td>
					</tr>
					<tr>
						<td class="lbl_left"><h:outputText value=" 生年月日:" /></td>
						<td align="left"><h:outputText
							value="#{userManaged.strBirthday}">
						</h:outputText></td>
					</tr>
					<tr>
						<td class="lbl_left"><h:outputText value=" メールアドレス:" /></td>
						<td align="left"><h:outputText value="#{userManaged.email}">
						</h:outputText></td>
					</tr>
					<tr>
						<td class="lbl_left"><h:outputText value=" 電話番号:" /></td>
						<td align="left"><h:outputText value="#{userManaged.tel}">
						</h:outputText></td>
					</tr>
					<tr>
						<th align="center" colspan="2"><a href="#"
							onclick="loadData('form_input:lsItemJapan')"> <h:outputText
							value=" 日本語能力" /></a></th>
					</tr>
				</table>
				<div id="jp_detail_data" style="display: none">
				<table border="1" width="70%" class="tbl_input" cellpadding="4"
					cellspacing="0">
					<tr>
						<td class="lbl_left"><h:outputText value=" 資格:" /></td>
						<td align="left"><h:outputText
							value="#{userManaged.codeName}"
							rendered="#{userManaged.codeName != null}">
						</h:outputText></td>
					</tr>
					<tr>
						<td class="lbl_left"><h:outputText value=" 資格交付日:" /></td>
						<td align="left"><h:outputText
							value="#{userManaged.strStartDate}"
							rendered="#{userManaged.codeName != null}">
						</h:outputText></td>
					</tr>
					<tr>
						<td class="lbl_left"><h:outputText value=" 失効日:" /></td>
						<td align="left"><h:outputText
							value="#{userManaged.strEndDate}"
							rendered="#{userManaged.codeName != null}">
						</h:outputText></td>
					</tr>
					<tr>
						<td class="lbl_left"><h:outputText value=" 点数:" /></td>
						<td align="left"><h:outputText
							value="#{userManaged.totalStr}"
							rendered="#{userManaged.codeName != null}">
						</h:outputText></td>
					</tr>
				</table>
				</div>
				</div>
				</td>
			</tr>
		</table>
		<!-- ===========Begin vung button=============== -->
		<div style="padding-left: 100px;">
		<table width="70%" class="tbl_input" cellpadding="4" cellspacing="0">
			<tr>
				<td class="lbl_left"><h:inputHidden
					value="#{userManaged.userId}">
				</h:inputHidden></td>
				<td><h:commandButton action="#{userManaged.doDone}"
					styleClass="btn" value="OK"></h:commandButton>&nbsp; <h:commandButton
					action="#{userManaged.doBack}" styleClass="btn" value="戻る"
					immediate="true"></h:commandButton></td>
			</tr>
		</table>
		</div>
	</h:form>
	<jsp:include page="footer.jsp" />
</f:view>